package com.tianyi.sfzy1.service;

import com.tianyi.sfzy1.domain.Charityactivity;
import com.tianyi.sfzy1.mapper.CharityactivityMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CharityactivityService {
    @Autowired
    private CharityactivityMapper charityactivityMapper;
    //咨询师和公益表联查
    public List<Charityactivity> findAllCharityactivity() {
        return charityactivityMapper.selectWithConsultant();
    }

}
